package edu.nf.meituan.dao.user;

import edu.nf.meituan.model.user.User;

public interface UserDAO {

    /**
     * 用户登录
     * @param username
     * @return
     */
    User loginUser(String username);

    /**
     * 用户注册
     * @param uName
     * @return
     */
    int registerUser(String uName,String pwd,String nickName,String uPhone);

    /**
     * 根据手机号查询是否注册
     * @param phone
     * @return
     */
    User equeryUserPhone(String phone);



}
